export function formatPlayCount(count: number): string {
  if (count < 10000) {
    return count.toString()
  } else if (count < 100000000) {
    return Math.floor(count / 10000) + '万'
  } else {
    return Math.floor(count / 100000000) + '亿'
  }
}

export function formatTime(time: number): string {
  const minutes = Math.floor(time / 60)
  const seconds = Math.floor(time % 60)
  return `${minutes}:${seconds.toString().padStart(2, '0')}`
} 